
    <div id="page-loading">
        <div class="page-loading-inner">
            <div class="sk-three-bounce">
                <div class="sk-child sk-bounce1"></div>
                <div class="sk-child sk-bounce2"></div>
                <div class="sk-child sk-bounce3"></div>
            </div>
        </div>
    </div>

    {if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
    {if !empty($copyright) && !empty($copyright['copyright'])}
    <div class="wb-footer" style='width:100%;'>
        <div>{$copyright['copyright']}</div>
    </div>
    {/if}

</div>




<script language='javascript'>
    require(['bootstrap'], function ($) {
        $('[data-toggle="tooltip"]').tooltip("destroy").tooltip({
            container: $(document.body)
        });
        $('[data-toggle="popover"]').popover("destroy").popover({
            container: $(document.body)
        });
    });

    $(function () {
        //$('.page-content').show();
        $('.img-thumbnail').each(function () {
            if ($(this).attr('src').indexOf('nopic.jpg') != -1) {
                $(this).attr('src', "{MX_SHOP_LOCAL}static/images/nopic.jpg");
            }
        })
        {php $task_mode =intval(m('cache')->getString('task_mode', 'global'))}
        {if $task_mode==0}
            $.getJSON("{php echo webUrl('util/task')}");
        {/if}
    });
</script>
<script language="javascript">
    myrequire(['web/init']);
    if( $('form.form-validate').length<=0){
        window.formInited = true;
    }
    window.formInitTimer = setInterval(function () {
        if (typeof(window.formInited ) !== 'undefined') {
            $('#page-loading').remove();
            clearInterval(window.formInitTimer);
        }else{
            //$('#page-loading').show();
        }
    }, 1);
</script>

{if $_W['plugin']=='merch' && $_W['merch_user'] }
    <script language="javascript">myrequire(['../../plugin/merch/static/js/manage/init']);</script>
{/if}

</body>
</html>
